<template>
  <div id="app">
    <!-- 遮罩 -->
    <van-overlay :show="this.$store.state.show" z-index="9999999">
      <div class="wrapper" @click.stop>
        <img class="imgloding" src="@/assets/1.gif" alt />
      </div>
    </van-overlay>
    <router-view />
  </div>
</template>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
}
//遮罩
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
//加载图标
.imgloding {
  width: 6.25rem;
  height: 6.25rem;
}
ul li {
  list-style: none;
  text-decoration: none;
}
html,
body {
  height: 100%;
  width: 100%;
}
#app {
  color: #2c3e50;
  height: 100%;
  header {
    flex: 1;
  }
}
</style>

